package com.xinyun.traceability.service;

import com.xinyun.traceability.enity.po.CommodityPic;
import com.xinyun.traceability.utils.R;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface CommodityPicService {
    R layuiUpload(String uuid, List<MultipartFile> multipartFiles, HttpServletRequest request);

    List<CommodityPic> selectCommodityPicByUuid(String uuid);

    CommodityPic selectByPrimaryKey(Integer id);

    void commodityPicView(HttpServletResponse response, Integer id);

    int deleteCommodityPicByPrimaryKey(Integer id);
}
